package com.acmedcare.framework.exchange.center.entity.bean;

import com.acmedcare.framework.exchange.center.entity.dto.TaskFailStatus;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author stefan.gu
 * @date 2019-09-02 14:08:01
 */
@Data
@TableName("center_task_detail")

public class TaskDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 任务详情id
	 */
	@TableId
	private Long taskDetailId;
	/**
	 * 任务名称
	 */
	@ApiModelProperty("姓名")
	private String name;
	/**
	 * 运行时间
	 */
	@ApiModelProperty("运行时间")
	private Date executeTime;

	/**
	 * 执行状态
	 */
	@ApiModelProperty("执行状态")
	private Boolean status;

	/**
	 * 任务描述
	 */
	@ApiModelProperty("描述信息")
	private String description;
	/**
	 * 执行日志
	 */
	@ApiModelProperty("执行日志")
	private String executeLog;

	@ApiModelProperty("执行时间,单位毫秒")
	private Long duringTime;

	@ApiModelProperty("执行器名称")
	private String executorName;

	@ApiModelProperty("失败类型")
	private TaskFailStatus failStatus;
}
